/*
 * 样式
 * 版本: 2.0.0
 * 支持响应式设计，适配PC和移动端
 */

/* 重置与基础样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Microsoft YaHei', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

a {
    color: #0066cc;
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: #004499;
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
    border-style: none;
}

ul, ol {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* 辅助类 */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.main-container {
    padding-top: 20px;
    padding-bottom: 40px;
}

.cx-btn-zn {
    display: inline-block;
    font-weight: 500;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    user-select: none;
    border: 1px solid transparent;
    padding: .375rem .75rem;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: .25rem;
    transition: all .15s ease-in-out;
}

.btn-primary {
    color: #fff;
    background-color: #0066cc;
    border-color: #0066cc;
}

.btn-primary:hover {
    color: #fff;
    background-color: #0056b3;
    border-color: #004499;
}

.btn-read-more {
    color: #fff;
    background-color: #0066cc;
    border-color: #0066cc;
    padding: 6px 15px;
    font-size: 14px;
    border-radius: 50px;
}

.btn-read-more:hover {
    color: #fff;
    background-color: #0056b3;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 102, 204, 0.3);
}

/* 顶部菜单区域 */
.header-top {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 8px 0;
}

.wt-logo {
    display: block;
    max-width: 180px;
    margin-right: 10px;
}

.wt-logo img {
    max-height: 50px;
    width: auto;
}

/* 主导航菜单 */
.main-nav {
    display: flex;
    align-items: center;
}

.nav-menu-wrapper {
    width: 100%;
}

.nav-menu {
    display: flex;
    flex-wrap: nowrap;
    margin: 0;
    justify-content: space-between;
    width: 100%;
}

.nav-item {
    position: relative;
    margin-right: 0px;
    margin-left: 0px;
    white-space: nowrap;
    flex: 1;
    text-align: center;
    overflow: hidden;
    text-overflow: ellipsis;
}

.nav-link {
    display: block;
    padding: 8px 0px;
    color: #333;
    font-weight: 500;
    transition: all 0.3s;
    font-size: 16px;
}

.nav-link i {
    margin-right: 2px;
    font-size: 14px;
}

.nav-link:hover {
    color: #0066cc;
}

.nav-item.active .nav-link {
    color: #0066cc;
    font-weight: 600;
}

.dropdown-menu {
    min-width: 180px;
    padding: 8px 0;
    margin: 0;
    border: none;
    border-radius: 4px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

.dropdown-item {
    padding: 6px 15px;
    color: #333;
    font-size: 14px;
}

.dropdown-item:hover, .dropdown-item:focus {
    color: #0066cc;
    background-color: #f8f9fa;
}

.dropdown-item.active {
    color: #0066cc;
    background-color: rgba(0, 102, 204, 0.1);
}

.mobile-nav-toggle {
    display: none;
    background: none;
    border: none;
    color: #333;
    font-size: 24px;
    cursor: pointer;
}

/* 用户操作区域 */
.header-user-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.search-form-wrap {
    flex: 1;
    margin-right: 15px;
}

.search-form .form-control {
    border-radius: 50px 0 0 50px;
    border: 1px solid #eee;
    padding-left: 15px;
    height: 36px;
    font-size: 14px;
}

.search-form .btn-search {
    border-radius: 0 50px 50px 0;
    background-color: #0066cc;
    color: #fff;
    border: 1px solid #0066cc;
    height: 36px;
}

.user-links {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.user-link {
    color: #333;
    font-size: 16px;
    margin-left: 12px;
    transition: all 0.3s;
}

.user-link:hover {
    color: #0066cc;
}

/* 次要导航 */
.sub-header {
    background-color: #f8f9fa;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.sub-nav {
    display: flex;
    flex-wrap: wrap;
}

.sub-nav a {
    color: #666;
    font-size: 14px;
    margin-right: 20px;
    transition: all 0.3s;
}

.sub-nav a:hover {
    color: #0066cc;
}

.header-info {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.weather-info, .date-info {
    margin-left: 15px;
    color: #666;
    font-size: 14px;
}

/* 面包屑导航 */
.breadcrumb-container {
    padding: 10px 0;
    background-color: #fff;
    margin-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.vw-breadcrumb-bl {
    padding: 0;
    margin: 0;
    background-color: transparent;
    border-radius: 0;
}

.breadcrumb-item {
    font-size: 14px;
    color: #666;
}

.breadcrumb-item a {
    color: #666;
}

.breadcrumb-item.active {
    color: #0066cc;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: "/";
    color: #ccc;
}

/* Banner轮播 */
.banner-section {
    margin-bottom: 30px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
}

.banner-swiper {
    border-radius: 8px;
    overflow: hidden;
}

.banner-slide {
    position: relative;
    height: 400px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
}

.banner-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.7) 100%);
}

.banner-content {
    position: relative;
    z-index: 1;
    padding: 30px;
    width: 100%;
}

.banner-category {
    margin-bottom: 15px;
}

.category-tag {
    display: inline-block;
    padding: 5px 15px;
    background-color: #0066cc;
    color: #fff;
    font-size: 12px;
    font-weight: 500;
    border-radius: 50px;
    text-transform: uppercase;
}

.banner-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 15px;
}

.banner-title a {
    color: #fff;
}

.banner-title a:hover {
    color: #f8f9fa;
}

.banner-meta {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 15px;
}

.banner-meta .st-meta-item-ar {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    margin-right: 20px;
}

.banner-meta .st-meta-item-ar i {
    margin-right: 5px;
}

.banner-excerpt {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 20px;
    max-width: 600px;
    font-size: 16px;
    line-height: 1.6;
}

/* Swiper导航 */
.swiper-button-next, .swiper-button-prev {
    color: #fff;
    background-color: rgba(0, 0, 0, 0.3);
    width: 44px;
    height: 44px;
    border-radius: 50%;
}

.swiper-button-next:after, .swiper-button-prev:after {
    font-size: 18px;
}

.swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background-color: rgba(255, 255, 255, 0.7);
    opacity: 1;
}

.swiper-pagination-bullet-active {
    background-color: #0066cc;
}

/* 快速导航区 */
.quick-nav-section {
    margin: 30px 0;
}

.quick-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 15px;
    background-color: #fff;
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    text-align: center;
    position: relative;
    overflow: hidden;
    color: #333;
    height: 100%;
}

.quick-nav-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    text-decoration: none;
    color: #0066cc;
}

.quick-nav-item:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(to right, #0066cc, #5c9dff);
    transform: scaleX(0);
    transition: transform 0.3s ease;
    transform-origin: left;
}

.quick-nav-item:hover:before {
    transform: scaleX(1);
}

.quick-nav-icon {
    font-size: 28px;
    margin-bottom: 15px;
    color: #0066cc;
    background-color: rgba(0, 102, 204, 0.1);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.quick-nav-item:hover .quick-nav-icon {
    background-color: #0066cc;
    color: #ffffff;
}

.quick-nav-title {
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 5px;
    color: #333;
    transition: color 0.3s ease;
}

.quick-nav-item:hover .quick-nav-title {
    color: #0066cc;
}

.count-badge {
    display: inline-block;
    background-color: #f5f5f5;
    color: #666;
    font-size: 14px;
    padding: 3px 12px;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.quick-nav-item:hover .count-badge {
    background-color: #0066cc;
    color: #fff;
}

/* 文章卡片 */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    border-bottom: 2px solid #eee;
    padding-bottom: 10px;
}

.vw-section-title-sc {
    font-size: 20px;
    font-weight: 700;
    margin: 0;
    color: #333;
}

.vw-section-title-sc i {
    color: #0066cc;
    margin-right: 5px;
}

.more-link {
    color: #0066cc;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s;
}

.more-link:hover {
    color: #004499;
}

.article-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.article-card {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.article-image {
    display: block;
    position: relative;
    overflow: hidden;
    height: 180px;
}

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.article-card:hover .article-image img {
    transform: scale(1.05);
}

.article-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 5px 10px;
    font-size: 12px;
    font-weight: 500;
    color: #fff;
    background-color: #ff6347;
    border-radius: 3px;
}

.wt-article-content {
    padding: 20px;
}

.my-article-title-zn {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    line-height: 1.4;
}

.my-article-title-zn a {
    color: #333;
}

.my-article-title-zn a:hover {
    color: #0066cc;
}

.article-excerpt {
    color: #666;
    font-size: 14px;
    margin-bottom: 15px;
    line-height: 1.6;
}

.wt-article-meta {
    display: flex;
    flex-wrap: wrap;
    color: #999;
    font-size: 13px;
}

.wt-article-meta .st-meta-item-ar {
    margin-right: 15px;
}

.wt-article-meta .st-meta-item-ar i {
    margin-right: 5px;
}

/* 文章列表 */
.article-list {
    margin-bottom: 30px;
}

.article-item {
    display: flex;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
    transition: all 0.3s;
}

.article-item:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.article-thumb {
    flex: 0 0 200px;
    margin-right: 20px;
    overflow: hidden;
    border-radius: 4px;
}

.article-thumb img {
    width: 100%;
    height: 140px;
    object-fit: cover;
    transition: transform 0.5s;
}

.article-item:hover .article-thumb img {
    transform: scale(1.05);
}

.article-info {
    flex: 1;
}

/* 分类推荐 */
.category-highlights {
    background-color: #f8f9fa;
    padding: 40px 0;
    margin-bottom: 40px;
}

.category-highlight-block {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
}

.category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
}

.category-title {
    font-size: 18px;
    font-weight: 600;
    margin: 0;
    color: #333;
}

.category-content {
    padding: 20px;
}

.category-featured-article {
    margin-bottom: 20px;
}

.tp-featured-image {
    display: block;
    margin-bottom: 15px;
    overflow: hidden;
    border-radius: 4px;
}

.tp-featured-image img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    transition: transform 0.5s;
}

.tp-featured-image:hover img {
    transform: scale(1.05);
}

.featured-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
    line-height: 1.4;
}

.featured-title a {
    color: #333;
}

.featured-title a:hover {
    color: #0066cc;
}

.featured-excerpt {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
}

.category-article-list li {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px dashed #eee;
}

.category-article-list li:last-child {
    border-bottom: none;
}

.category-article-list li a {
    color: #333;
    font-size: 14px;
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.category-article-list li a:hover {
    color: #0066cc;
}

.article-date {
    color: #999;
    font-size: 12px;
    margin-left: 10px;
}

/* 响应式适配 */
@media (max-width: 991px) {
    .banner-slide {
        height: 350px;
    }
    
    .banner-title {
        font-size: 24px;
    }
    
    .article-thumb {
        flex: 0 0 150px;
    }
    
    .header-user-actions {
        margin-top: 10px;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    
    .search-form-wrap {
        flex: 1;
        margin-right: 15px;
    }
}

@media (max-width: 767px) {
    .mobile-nav-toggle {
        display: block;
    }
    
    .nav-menu-wrapper {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #fff;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        z-index: 1000;
    }
    
    .nav-menu-wrapper.show {
        display: block;
    }
    
    .nav-menu {
        flex-direction: column;
        padding: 10px 0;
    }
    
    .nav-item {
        margin-right: 0;
        border-bottom: 1px solid #eee;
    }
    
    .nav-link {
        padding: 12px 20px;
    }
    
    .dropdown-menu {
        position: static;
        box-shadow: none;
        border-top: 1px solid #eee;
        border-radius: 0;
    }
    
    .header-info {
        justify-content: flex-start;
        margin-top: 10px;
    }
    
    .banner-slide {
        height: 300px;
    }
    
    .banner-content {
        padding: 20px;
    }
    
    .banner-title {
        font-size: 20px;
        margin-bottom: 10px;
    }
    
    .banner-excerpt {
        display: none;
    }
    
    .article-item {
        flex-direction: column;
    }
    
    .article-thumb {
        margin-right: 0;
        margin-bottom: 15px;
        width: 100%;
    }
}

@media (max-width: 575px) {
    .banner-slide {
        height: 250px;
    }
    
    .banner-meta {
        display: none;
    }
    
    .btn-read-more {
        padding: 5px 12px;
        font-size: 12px;
    }
    
    .article-cards {
        grid-template-columns: 1fr;
    }
}

/* 动画效果 */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.st-animate-fadeIn {
    animation: fadeIn 0.8s ease-out forwards;
}

/* 侧边栏样式 */
.sidebar-wrapper {
    margin-bottom: 30px;
}

.sidebar-widget {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    margin-bottom: 25px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.sidebar-widget:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transform: translateY(-3px);
}

.widget-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    padding: 15px 20px;
    margin: 0;
    border-bottom: 1px solid #f0f0f0;
    position: relative;
}

.widget-title i {
    color: #0066cc;
    margin-right: 8px;
}

.widget-title:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 60px;
    height: 3px;
    background: linear-gradient(to right, #0066cc, #5c9dff);
}

.widget-content {
    padding: 15px 20px;
}

/* 搜索框 */
.sidebar-search-form .form-control {
    height: 45px;
    border-radius: 4px 0 0 4px;
    border: 1px solid #eee;
    box-shadow: none;
}

.sidebar-search-form .btn-search {
    background-color: #0066cc;
    color: #fff;
    border: none;
    border-radius: 0 4px 4px 0;
    padding: 0 15px;
}

/* 热门标签 */
.tags-cloud {
    display: flex;
    flex-wrap: wrap;
    margin: -5px;
}

.tag-item {
    display: inline-block;
    padding: 6px 12px;
    margin: 5px;
    font-size: 13px;
    color: #666;
    background-color: #f5f5f5;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.tag-item:hover {
    background-color: #0066cc;
    color: #fff;
    transform: translateY(-2px);
}

.no-tags {
    color: #999;
    text-align: center;
    padding: 15px 0;
}

/* 最新文章和热门文章 */
.recent-posts, .popular-posts {
    margin: 0;
    padding: 0;
}

.recent-post-item, .popular-post-item {
    display: flex;
    align-items: flex-start;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
}

.recent-post-item:last-child, .popular-post-item:last-child {
    border-bottom: none;
}

.wt-post-info {
    flex: 1;
}

.wt-post-number-el {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 28px;
    height: 28px;
    background-color: #f5f5f5;
    color: #666;
    border-radius: 50%;
    margin-right: 12px;
    font-weight: 600;
    font-size: 14px;
}

.recent-post-item:nth-child(1) .wt-post-number-el,
.popular-post-item:nth-child(1) .wt-post-number-el {
    background-color: #ff4757;
    color: #fff;
}

.recent-post-item:nth-child(2) .wt-post-number-el,
.popular-post-item:nth-child(2) .wt-post-number-el {
    background-color: #ff7f50;
    color: #fff;
}

.recent-post-item:nth-child(3) .wt-post-number-el,
.popular-post-item:nth-child(3) .wt-post-number-el {
    background-color: #ffa502;
    color: #fff;
}

.ui-post-title-bx {
    font-size: 15px;
    font-weight: 500;
    line-height: 1.4;
    margin: 0 0 5px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.ui-post-title-bx a {
    color: #333;
    transition: color 0.3s;
}

.ui-post-title-bx a:hover {
    color: #0066cc;
}

.cx-post-meta-bx {
    display: flex;
    align-items: center;
    font-size: 12px;
    color: #999;
}

.ui-post-date-sc, .st-post-views-pt {
    margin-right: 15px;
    white-space: nowrap;
}

.cx-post-meta-bx i {
    margin-right: 4px;
}

/* 日期样式 - 像截图中那样的日期显示 */
.post-date-large {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 45px;
    height: 50px;
    background-color: #f5f5f5;
    border-radius: 6px;
    margin-right: 15px;
    overflow: hidden;
}

.date-day {
    font-size: 20px;
    font-weight: bold;
    color: #333;
    line-height: 1;
    padding: 8px 0 3px;
    width: 100%;
    text-align: center;
}

.date-month {
    font-size: 12px;
    color: #fff;
    background-color: #0066cc;
    padding: 2px 0;
    width: 100%;
    text-align: center;
}

/* 最新评论 */
.recent-comments {
    padding: 0;
    margin: 0;
}

.comment-item {
    display: flex;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
}

.comment-item:last-child {
    border-bottom: none;
}

.comment-avatar {
    flex: 0 0 40px;
    margin-right: 15px;
}

.comment-avatar img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.comment-content {
    flex: 1;
}

.comment-author {
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
    font-size: 14px;
}

.comment-text {
    color: #666;
    margin-bottom: 5px;
    font-size: 13px;
    line-height: 1.5;
}

.comment-meta {
    font-size: 12px;
    color: #999;
}

.comment-meta a {
    color: #999;
}

.comment-meta a:hover {
    color: #0066cc;
}

.no-comments {
    color: #999;
    text-align: center;
    padding: 15px 0;
}

/* 关注我们 */
.social-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin: 0 -5px;
}

.social-button {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 5px;
    color: #fff;
    transition: all 0.3s ease;
}

.social-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
}

.social-button.weibo {
    background-color: #e6162d;
}

.social-button.wechat {
    background-color: #07c160;
}

.social-button.qq {
    background-color: #12b7f5;
}

.social-button.facebook {
    background-color: #3b5999;
}

.social-button.twitter {
    background-color: #55acee;
}

.wechat-qrcode {
    margin-top: 15px;
    text-align: center;
}

.wechat-qrcode p {
    font-size: 14px;
    margin-bottom: 10px;
    color: #666;
}

.wechat-qrcode img {
    max-width: 180px;
    border-radius: 6px;
}

/* 文章详情页样式 */
.pg-article-detail-container-bl {
    padding-top: 30px;
    padding-bottom: 50px;
}

.cx-article-detail {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    margin-bottom: 30px;
    padding: 25px 30px;
}

.wt-article-header {
    margin-bottom: 25px;
    text-align: center;
    position: relative;
    padding-bottom: 15px;
}

.wt-article-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(to right, #0066cc, #5c9dff);
}

.my-article-title-zn {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.4;
    color: #333;
}

.wt-article-meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    color: #888;
    font-size: 14px;
}

.wt-article-meta .st-meta-item-ar {
    margin: 0 10px 5px;
    display: inline-flex;
    align-items: center;
}

.wt-article-meta .st-meta-item-ar i {
    margin-right: 5px;
    color: #0066cc;
}

.st-article-featured-image-pt {
    margin: 20px -30px 30px;
    overflow: hidden;
}

.st-article-featured-image-pt img {
    width: 100%;
    display: block;
}

.st-article-description {
    background-color: #f8f9fa;
    padding: 20px;
    margin-bottom: 25px;
    border-left: 4px solid #0066cc;
    font-size: 16px;
    line-height: 1.7;
    color: #555;
    border-radius: 0 5px 5px 0;
}

/* 文章内容样式优化 */
.wt-article-content {
    line-height: 1.8;
    color: #444;
    font-size: 16px;
    margin-bottom: 30px;
}

.wt-article-content p {
    margin-bottom: 20px;
}

.wt-article-content h1,
.wt-article-content h2,
.wt-article-content h3,
.wt-article-content h4,
.wt-article-content h5,
.wt-article-content h6 {
    margin-top: 30px;
    margin-bottom: 15px;
    color: #333;
    font-weight: 600;
}

.wt-article-content h1 {
    font-size: 26px;
}

.wt-article-content h2 {
    font-size: 24px;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

.wt-article-content h3 {
    font-size: 22px;
}

.wt-article-content h4 {
    font-size: 20px;
}

.wt-article-content h5 {
    font-size: 18px;
}

.wt-article-content h6 {
    font-size: 16px;
}

.wt-article-content blockquote {
    border-left: 4px solid #0066cc;
    padding: 15px 20px;
    margin: 20px 0;
    background-color: rgba(0, 102, 204, 0.05);
    border-radius: 0 5px 5px 0;
    color: #555;
    font-style: italic;
}

.wt-article-content ul,
.wt-article-content ol {
    padding-left: 25px;
    margin-bottom: 20px;
}

.wt-article-content ul {
    list-style-type: disc;
}

.wt-article-content ol {
    list-style-type: decimal;
}

.wt-article-content li {
    margin-bottom: 8px;
}

.wt-article-content a {
    color: #0066cc;
    border-bottom: 1px dashed #0066cc;
    transition: all 0.3s ease;
}

.wt-article-content a:hover {
    color: #004499;
    border-bottom-style: solid;
}

.wt-article-content img {
    max-width: 100%;
    height: auto;
    margin: 20px auto;
    display: block;
    border-radius: 5px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.wt-article-content pre {
    background-color: #f7f7f7;
    padding: 15px;
    border-radius: 5px;
    overflow-x: auto;
    margin: 20px 0;
    font-family: Consolas, Monaco, 'Andale Mono', monospace;
    border: 1px solid #eee;
}

.wt-article-content code {
    background-color: #f7f7f7;
    padding: 3px 5px;
    border-radius: 3px;
    font-family: Consolas, Monaco, 'Andale Mono', monospace;
    font-size: 14px;
    color: #d63384;
}

.wt-article-content pre code {
    padding: 0;
    color: #333;
}

.wt-article-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    overflow-x: auto;
    display: block;
}

.wt-article-content table th,
.wt-article-content table td {
    border: 1px solid #eee;
    padding: 10px 15px;
    text-align: left;
}

.wt-article-content table th {
    background-color: #f8f9fa;
    font-weight: 600;
}

.wt-article-content table tr:nth-child(even) {
    background-color: #f8f9fa;
}

.my-article-tags {
    margin: 25px 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.cx-tags-title {
    margin-right: 10px;
    font-weight: 600;
    color: #555;
}

.my-tag-link-ar {
    display: inline-block;
    background-color: #f0f5ff;
    color: #0066cc;
    padding: 5px 12px;
    margin: 5px;
    border-radius: 20px;
    font-size: 13px;
    transition: all 0.3s ease;
}

.my-tag-link-ar:hover {
    background-color: #0066cc;
    color: #fff;
    transform: translateY(-2px);
}

.cx-article-share-sc {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    margin: 25px 0;
}

.pg-share-title {
    margin-bottom: 15px;
    font-weight: 600;
    color: #555;
}

.tp-share-buttons-bl {
    display: flex;
    flex-wrap: wrap;
}

.ui-share-button-ar {
    display: inline-flex;
    align-items: center;
    margin-right: 10px;
    margin-bottom: 10px;
    padding: 8px 15px;
    border-radius: 5px;
    color: #fff;
    font-size: 14px;
    transition: all 0.3s ease;
}

.ui-share-button-ar i {
    margin-right: 5px;
}

.share-button.weibo {
    background-color: #e6162d;
}

.share-button.qq {
    background-color: #12b7f5;
}

.share-button.wechat {
    background-color: #07c160;
}

.share-button.facebook {
    background-color: #3b5998;
}

.share-button.twitter {
    background-color: #1da1f2;
}

.ui-share-button-ar:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    color: #fff;
}

.st-article-copyright {
    background-color: #fff9f9;
    border-radius: 8px;
    padding: 15px 20px;
    margin: 25px 0;
    border-left: 4px solid #ff6347;
    color: #666;
}

.st-article-copyright p {
    margin: 5px 0;
}

.pg-article-navigation-wr {
    display: flex;
    margin: 30px 0;
}

.vw-prev-article-wr, .cx-next-article-el {
    background-color: #fff;
    padding: 15px 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.vw-prev-article-wr {
    text-align: left;
}

.cx-next-article-el {
    text-align: right;
}

.vw-prev-article-wr:hover, .cx-next-article-el:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.cx-nav-label {
    color: #999;
    font-size: 14px;
    display: block;
    margin-bottom: 5px;
}

.st-nav-title-el {
    font-size: 16px;
    font-weight: 600;
    margin: 0;
}

.st-nav-title-el a {
    color: #333;
    transition: color 0.3s ease;
}

.st-nav-title-el a:hover {
    color: #0066cc;
}

.ui-related-articles-pt {
    margin-top: 40px;
    margin-bottom: 40px;
    border-radius: 10px;
    padding: 20px;
    background-color: #f9f9f9;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.05);
}

.ui-related-articles-pt .vw-section-title-sc {
    margin-bottom: 25px;
    padding-bottom: 15px;
    font-size: 22px;
    font-weight: 700;
    color: #333;
    border-bottom: 2px solid #eaeaea;
    position: relative;
}

.ui-related-articles-pt .vw-section-title-sc:after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 60px;
    height: 2px;
    background-color: #0066cc;
}

.ui-related-articles-pt .vw-section-title-sc i {
    color: #0066cc;
    margin-right: 8px;
}

.ui-related-article {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    margin-bottom: 15px;
}

.ui-related-article:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.ui-related-article .article-image {
    position: relative;
    overflow: hidden;
    border-radius: 8px 8px 0 0;
    height: 160px;
}

.ui-related-article .article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.ui-related-article:hover .article-image img {
    transform: scale(1.08);
}

.ui-related-article .article-info {
    padding: 15px;
}

.ui-related-article .my-article-title-zn {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 8px;
    max-height: 45px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.ui-related-article .my-article-title-zn a {
    color: #333;
    transition: color 0.3s ease;
}

.ui-related-article:hover .my-article-title-zn a {
    color: #0066cc;
}

.ui-related-article .wt-article-meta {
    font-size: 13px;
    color: #888;
    display: flex;
    align-items: center;
}

.ui-related-article .wt-article-meta .st-meta-item-ar {
    margin-right: 12px;
}

.ui-related-article .wt-article-meta .st-meta-item-ar i {
    margin-right: 5px;
    color: #0066cc;
}

/* 响应式调整 */
@media (max-width: 767px) {
    .ui-related-article .article-image {
        height: 140px;
    }
    
    .ui-related-article .my-article-title-zn {
        font-size: 15px;
    }
    
    .ui-related-articles-pt .row + .row {
        margin-top: 0 !important;
    }
}

/* 归档样式 */
.archives-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.archive-item {
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.3s ease;
}

.archive-item:last-child {
    border-bottom: none;
}

.archive-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    color: #555;
    transition: all 0.3s ease;
}

.archive-link:hover {
    color: #0066cc;
    padding-left: 5px;
    text-decoration: none;
}

.archive-date {
    font-weight: 500;
}

.archive-count {
    background-color: #f5f5f5;
    border-radius: 20px;
    padding: 2px 10px;
    font-size: 12px;
    color: #666;
    transition: all 0.3s ease;
}

.archive-link:hover .archive-count {
    background-color: #0066cc;
    color: #fff;
}

.no-archives {
    text-align: center;
    padding: 15px 0;
    color: #999;
}

/* 归档页面样式 */
.archive-container {
    margin-top: 30px;
    margin-bottom: 50px;
}

.archive-header {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.05);
    padding: 25px 30px;
    margin-bottom: 30px;
}

.archive-title {
    font-size: 24px;
    color: #333;
    margin-bottom: 15px;
    font-weight: 600;
}

.archive-title i {
    color: #0066cc;
    margin-right: 8px;
}

.archive-description {
    color: #666;
    font-size: 16px;
}

.archive-description strong {
    color: #0066cc;
}

.archive-articles .article-item {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    margin-bottom: 25px;
    transition: all 0.3s ease;
    overflow: hidden;
}

.archive-articles .article-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.no-content-message {
    text-align: center;
    padding: 40px 20px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.05);
}

.no-content-message i {
    font-size: 48px;
    color: #ddd;
    margin-bottom: 15px;
    display: block;
}

.no-content-message h3 {
    font-size: 20px;
    color: #666;
    margin-bottom: 10px;
}

.no-content-message p {
    color: #999;
    font-size: 16px;
}

/* 图片模态框样式 */
.image-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 99999;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: zoom-out;
    animation: fadeIn 0.3s ease;
}

.modal-image {
    max-width: 90%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 4px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
    transform: scale(0.95);
    animation: zoomIn 0.3s ease forwards;
}

@keyframes zoomIn {
    from {
        transform: scale(0.5);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    color: #fff;
    font-size: 30px;
    font-weight: bold;
    cursor: pointer;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    transition: all 0.3s ease;
    z-index: 100000;
}

.modal-close:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

/* 移动端适配 */
@media (max-width: 767px) {
    .modal-image {
        max-width: 95%;
        max-height: 80vh;
    }
    
    .modal-close {
        top: 10px;
        right: 10px;
        font-size: 24px;
        width: 32px;
        height: 32px;
        line-height: 32px;
    }
}

/* 友情链接样式 */
.friend-links {
    margin: 20px 0 30px;
    padding: 15px 20px;
    background-color: #f9f9f9;
    border-radius: 5px;
    border: 1px solid #e9e9e9;
}

.friend-links-title {
    font-size: 18px;
    color: #333;
    padding-bottom: 10px;
    margin-bottom: 15px;
    border-bottom: 1px solid #eee;
    position: relative;
}

.friend-links-title:after {
    content: "";
    display: block;
    width: 60px;
    height: 2px;
    background-color: #007bff;
    position: absolute;
    bottom: -1px;
    left: 0;
}

.friend-links-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.friend-links-list a {
    display: inline-block;
    padding: 4px 12px;
    background-color: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 3px;
    color: #666;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.friend-links-list a:hover {
    color: #007bff;
    border-color: #007bff;
    background-color: #f0f8ff;
    transform: translateY(-2px);
    box-shadow: 0 2px 5px rgba(0,123,255,0.1);
}

/* 外链文章区域样式 */
.external-posts-widget {
    margin-bottom: 30px;
}

.external-posts {
    list-style: none;
    padding: 0;
    margin: 0;
}

.external-post-item {
    padding: 10px 0;
    border-bottom: 1px dashed #e0e0e0;
}

.external-post-item:last-child {
    border-bottom: none;
}

.external-post-item .ui-post-title-bx {
    margin: 0 0 5px;
    font-size: 14px;
    line-height: 1.4;
}

.external-post-item .ui-post-title-bx a {
    color: #333;
    transition: color 0.3s;
    text-decoration: none;
}

.external-post-item .ui-post-title-bx a:hover {
    color: #007bff;
}

.external-post-item .cx-post-meta-bx {
    font-size: 12px;
    color: #999;
}

.external-post-item .post-source {
    display: inline-block;
    color: #888;
}

/* 紧凑导航样式 */
@media (min-width: 992px) {
    .row.align-items-center {
        justify-content: space-between;
    }
    
    .col-lg-3 {
        flex: 0 0 15%;
        max-width: 15%;
    }
    
    .col-lg-7 {
        flex: 0 0 70%;
        max-width: 70%;
    }
    
    .col-lg-2 {
        flex: 0 0 15%;
        max-width: 15%;
    }
    
    .nav-menu.nav-justify-content-center {
        justify-content: space-between;
        padding-left: 0;
        padding-right: 0;
        max-width: 100%;
        margin: 0 auto;
    }
    
    .nav-item {
        white-space: nowrap;
        max-width: none;
        flex: 1;
        overflow: hidden;
        text-overflow: ellipsis;
    }
}

/* 广告样式 */
.article-ad {
    margin: 20px 0;
    padding: 15px;
    background-color: #f8f9fa;
    border-radius: 5px;
    text-align: center;
    overflow: hidden;
    position: relative;
}

.article-ad::before {
    content: "广告";
    position: absolute;
    top: 0;
    right: 0;
    font-size: 10px;
    padding: 2px 5px;
    background-color: rgba(0, 0, 0, 0.1);
    color: #666;
    border-radius: 0 0 0 5px;
}

.article-top-ad {
    margin-bottom: 30px;
}

.article-middle-ad {
    margin: 30px 0;
}

.article-bottom-ad {
    margin-bottom: 30px;
}

/* 广告响应式调整 */
@media (max-width: 768px) {
    .article-ad {
        padding: 10px;
    }
}

/* 分页样式 */
.pagination-wrapper {
    display: flex;
    justify-content: center;
    margin: 30px 0;
    animation: fadeInUp 0.5s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.cx-pagination-pt {
    display: flex;
    padding: 0;
    margin: 0;
    list-style: none;
    border-radius: 50px;
    background-color: #fff;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: all 0.3s ease;
}

.cx-pagination-pt:hover {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

.page-item {
    margin: 0;
}

.page-item.active .page-link {
    background-color: #0066cc;
    color: #fff;
    border-color: #0066cc;
    font-weight: 600;
    box-shadow: 0 5px 15px rgba(0, 102, 204, 0.3);
    transform: scale(1.05);
    position: relative;
    z-index: 2;
}

.page-link {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    min-width: 40px;
    padding: 0 15px;
    color: #555;
    font-size: 15px;
    font-weight: 500;
    text-align: center;
    border: none;
    background-color: transparent;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.page-link:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #0066cc;
    opacity: 0;
    transform: scale(0);
    border-radius: 50%;
    transition: all 0.5s ease;
    z-index: -1;
}

.page-link:hover {
    background-color: #f0f7ff;
    color: #0066cc;
    border-color: transparent;
    z-index: 1;
    transform: translateY(-2px);
}

.page-link:hover:before {
    opacity: 0.05;
    transform: scale(1);
}

.page-item:first-child .page-link,
.page-item:last-child .page-link {
    padding: 0 20px;
}

.page-item.disabled .page-link {
    color: #aaa;
    pointer-events: none;
    background-color: transparent;
}

/* 简单分页样式（用于index.php） */
.cx-pagination-pt:not(ul) {
    display: flex;
    justify-content: center;
    margin: 30px 0;
    padding: 0;
    background-color: transparent;
    box-shadow: none;
    animation: fadeInUp 0.5s ease;
}

.cx-pagination-pt:not(ul) .page-link {
    margin: 0 5px;
    border-radius: 50px;
    background-color: #fff;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.cx-pagination-pt:not(ul) .page-link:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #0066cc;
    opacity: 0;
    transform: scale(0);
    border-radius: 50%;
    transition: all 0.5s ease;
    z-index: -1;
}

.cx-pagination-pt:not(ul) .page-link.current {
    background-color: #0066cc;
    color: #fff;
    font-weight: 600;
    box-shadow: 0 5px 15px rgba(0, 102, 204, 0.3);
    transform: scale(1.05);
}

.cx-pagination-pt:not(ul) .page-link.prev,
.cx-pagination-pt:not(ul) .page-link.next {
    padding: 0 20px;
}

.cx-pagination-pt:not(ul) .page-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    background-color: #f0f7ff;
    color: #0066cc;
}

.cx-pagination-pt:not(ul) .page-link:hover:before {
    opacity: 0.05;
    transform: scale(1);
}

.cx-pagination-pt:not(ul) .page-link.disabled {
    color: #aaa;
    pointer-events: none;
    background-color: #f8f9fa;
    box-shadow: none;
}

/* 响应式调整 */
@media (max-width: 575px) {
    .cx-pagination-pt {
        flex-wrap: wrap;
        border-radius: 10px;
        justify-content: center;
        padding: 5px;
    }
    
    .page-link {
        height: 36px;
        min-width: 36px;
        font-size: 14px;
        padding: 0 12px;
        margin: 3px;
    }
    
    .page-item:first-child .page-link,
    .page-item:last-child .page-link {
        padding: 0 15px;
    }
    
    .cx-pagination-pt:not(ul) .page-link {
        margin: 0 3px 6px;
    }
} 